<%@ page language="java" import="java.util.*,com.maya.model.*"
  pageEncoding="UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <base href="<%=basePath%>">

    <title><%=request.getAttribute("title") %> 知也</title>

    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <link rel="stylesheet" type="text/css" href="<%=path%>/resources/css/zhiye.css">
  </head>

  <body>
    <jsp:include page="${path}/resources/headerbarv2.jsp"></jsp:include>
    <div id="container">
      <div id="right">
            <jsp:include page="${path}/resources/right-bar.jsp"></jsp:include>
        </div>  
      <div id="left_wrapper" >
      <br><br><br>
        <%
    @SuppressWarnings("unchecked")
    List<User> users = (List<User>)request.getAttribute("users");
      for(User u: users) {
    %>
    <div style="margin:auto 40%">
    <a href="viewuser?userid=<%=u.getId() %>"><%=u.getName() %></a> <br/><br/> 
    </div>
    <%} %>
        
        </div>
      
   
      
      
    </div>

  </body>
</html>
